package com.shop.scheduling.service;

import org.springframework.scheduling.annotation.Scheduled;

/**
 * @Description:
 *
 * @author zhoulk
 * @date: 2019年04月21日  21:56
 */

public interface IScheduingJobs {

    /**
     * @Function com.shop.scheduling.service.IScheduingJobs.searchScheduingJob
     * @Description //TODO 获取需要执行的任务
     *
     * @param:
     * @return void
     * @errorCode //TODO
     *
     * @Author zhoulk
     * @Date 2019/4/21 22:01
     *
     **/
    void searchScheduingJob();

    /**
     * @Function com.shop.scheduling.service.IScheduingJobs.orderPayScheduing
     * @Description //订单支付超时调度
     *
     * @param:
     * @return void
     * @errorCode //TODO
     *
     * @Author zhoulk
     * @Date 2019/4/21 21:58
     *
     **/
    void orderPayScheduing();

    /**
     * @Function com.shop.scheduling.service.IScheduingJobs.orderEndScheduing
     * @Description //TODO 订单超时自动收货
     *
     * @param:
     * @return void
     * @errorCode //TODO
     *
     * @Author zhoulk
     * @Date 2019/4/21 22:00
     *
     **/
    void orderEndScheduing();

    /**
     * @Function com.shop.scheduling.service.IScheduingJobs.flushSolr
     * @Description //TODO 刷新solr
     *
     * @param:
     * @return void
     * @errorCode //TODO
     *
     * @Author zhoulk
     * @Date 2019/4/21 21:59
     *
     **/
    void flushSolr();
}
